package com.syni.mdd.sjb.common.datatreaure.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(value = "sc-gateway",path = "/store-center/sys/store")
public interface SaasStoreCenterClient {
    @GetMapping("/getStoreById")
    Map<String,Object> getStoreById(@RequestParam("storeId") String storeId, @RequestHeader("storeId") String hstoreId,
                                    @RequestHeader("client_id") String clientId,
                                    @RequestHeader("client_secret") String clientSecret,
                                    @RequestHeader("Authorization") String Authorization);
}
